package com.diankangwo.factory.service;


import com.diankangwo.factory.entity.TdOnlinepaylog;

import java.util.List;
import java.util.Map;

/**
 * 支付记录
 */
public interface TdOnlinePayLogService {
    int deleteByPrimaryKey(Integer id);

    int insert(TdOnlinepaylog record);

    int insertSelective(TdOnlinepaylog record);

    TdOnlinepaylog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdOnlinepaylog record);

    int updateByPrimaryKey(TdOnlinepaylog record);
    /**
     * 查询商品支付记录
     */
    List<TdOnlinepaylog> queryList(Map<String, Object> map);
    /**
     * 查询总数
     */
    int queryTotal(Map<String, Object> map);

    /**
     * 按日查询订单
     */
    List<TdOnlinepaylog> queryByDay(String startTime, String endTime);
}
